/**
 * for in
 * for of
 */

let arr1 = [1,2,3,4,5]
let arr2 = {
    '1':'1',
    '12':'12',
    '13':'133',
}

for(let i of arr1){
    console.log(i)
    
}

for(let i in arr2){
    console.log(i)
    console.log(arr2[i])
}

arr1.forEach((currentValue, index, array) => {
    console.log(index)
    console.log(array[index])
})
